package com.lee.init.service.impl;

import com.lee.init.entity.CustomerDeposit;
import com.lee.init.mapper.CustomerDepositMapper;
import com.lee.init.service.ICustomerDepositService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author youzh
 */
@Service
public class CustomerDepositServiceImpl implements ICustomerDepositService {

    @Autowired
    private CustomerDepositMapper depositMapper;

    @Override
    public int batchSave(List<CustomerDeposit> deposits) {
        int counts = depositMapper.batchSave(deposits);
        return counts;
    }
}
